Function at 0x430900
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x94
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebx + 0xc]
xor ecx, ecx
cmp esi, ecx
mov dword [esp + 0x28], eax
mov eax, dword [ebx]
push edi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x28], ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0xc], eax
je 0x4310e7
mov edi, dword [ebp + 0xc]
cmp edi, ecx
lea edx, [ecx + 0x62]
je 0x430945
movzx edx, byte [edi]
mov dword [esp + 0x14], edx
add edx, 0xffffffed
cmp edx, 0x8a
ja case.0x43095f.21
movzx edx, byte [edx + 0x431310]
jmp dword [edx*4 + 0x4312b4]
movsx ecx, word [edi + 0x1e]
mov eax, dword [edi + 0x24]
cmp byte [eax], 0
mov edx, dword [eax + 0x10]
lea ecx, [ecx + ecx*2]
lea ecx, [edx + ecx*8]
jne 0x430987
mov eax, dword [ecx + 0x10]
mov dword [esp + 0x2c], eax
jmp 0x431295
cmp byte [eax + 1], 0
je 0x4309aa
mov edx, dword [ebp + 0x10]
mov ecx, dword [ecx + 0xc]
push edx
mov edx, dword [eax + 4]
push ecx
push edx
push 0x1c
mov eax, esi
call fcn.004183d0
add esp, 0x10
jmp 0x431295
xor ecx, ecx
mov eax, dword [edi + 0x18]
cmp eax, ecx
jge 0x4309c3
movsx eax, word [edi + 0x1c]
add eax, dword [ebx + 0x50]
mov dword [esp + 0x2c], eax
jmp 0x431295
mov ecx, dword [ebp + 0x10]
mov edx, dword [edi + 0x28]
push ecx
push eax
movsx eax, word [edi + 0x1c]
push edx
push ebx
call fcn.00428580
add esp, 0x10
mov dword [esp + 0x2c], eax
jmp 0x431295
mov eax, dword [ebp + 0x10]
push eax
push ebx
xor ecx, ecx
mov eax, edi
call fcn.0041da10
add esp, 8
jmp 0x431295
mov ecx, dword [edi + 4]
push 0
push ecx
mov ecx, dword [ebp + 0x10]
push 0x5e
xor eax, eax
xor edx, edx
mov edi, esi
call fcn.00419680
add esp, 0xc
jmp 0x431295
mov eax, dword [ebp + 0x10]
xor ecx, ecx
push esi
lea edx, [ecx + 0xa]
call fcn.004196b0
add esp, 4
jmp 0x431295
mov ecx, dword [edi + 4]
add ecx, 2
call fcn.0040c510
mov edi, eax
sub edi, 1
push edi
push ecx
mov eax, esi
call fcn.0040a4c0
push eax
call fcn.00414d10
mov ecx, dword [ebp + 0x10]
add esp, 0xc
push 0xffffffffffffffff
push eax
mov eax, edi
cdq
sub eax, edx
mov edx, eax
sar edx, 1
push 0xb
xor eax, eax
mov edi, esi
call fcn.00419680
add esp, 0xc
jmp 0x431295
movsx ecx, word [edi + 0x1c]
mov eax, dword [ebp + 0x10]
push esi
mov edx, 0xc
call fcn.004196b0
mov edi, dword [edi + 4]
add esp, 4
cmp byte [edi + 1], 0
je 0x431295
push edi
push esi
xor ecx, ecx
or eax, 0xffffffff
call fcn.00418030
add esp, 8
jmp 0x431295
mov edx, dword [edi + 0x18]
mov dword [esp + 0x2c], edx
jmp 0x431295
mov eax, dword [ebp + 0x10]
mov ecx, dword [edi + 8]
push eax
push ecx
push ebx
call fcn.00430900
add esp, 0xc
mov dword [esp + 0x2c], eax
jmp 0x431295
mov eax, dword [edi + 8]
lea edx, [esp + 0x28]
push edx
push eax
call fcn.00409d50
mov edx, dword [edi + 0xc]
lea ecx, [esp + 0x40]
push ecx
push edx
mov esi, eax
call fcn.00409d50
mov edx, dword [esp + 0x24]
push 0x10
mov ecx, dword [ebp + 0x10]
push ecx
mov ecx, dword [edi + 8]
push eax
mov eax, dword [edi + 0xc]
push esi
push edx
push ebx
call fcn.00423450
add esp, 0x28
jmp 0x431295
mov ecx, dword [edi + 8]
lea eax, [esp + 0x28]
push eax
push ecx
call fcn.00409d50
lea edx, [esp + 0x40]
mov esi, eax
mov eax, dword [edi + 0xc]
push edx
push eax
call fcn.00409d50
xor edx, edx
cmp dword [esp + 0x24], 0x46
push 0x90
sete dl
add edx, 0x4b
jmp 0x430af0
mov ecx, dword [edi + 8]
lea eax, [esp + 0x28]
push eax
push ecx
call fcn.00409d50
lea edx, [esp + 0x40]
mov dword [esp + 0x28], eax
mov eax, dword [edi + 0xc]
push edx
push eax
call fcn.00409d50
mov ecx, dword [ebp + 0x10]
mov edx, dword [esp + 0x30]
push ecx
push edx
push eax
mov eax, dword [esp + 0x30]
push eax
mov eax, esi
call fcn.004183d0
add esp, 0x20
jmp 0x431295
mov eax, dword [edi + 8]
cmp byte [eax], 0x81
jne 0x430ba1
mov ecx, dword [ebp + 0x10]
push ecx
push ebx
mov ecx, 1
call fcn.0041da10
mov eax, dword [ebp + 0x10]
add esp, 8
mov dword [esp + 0x2c], eax
jmp 0x431295
mov eax, ebx
call fcn.00409cb0
xor ecx, ecx
push esi
lea edx, [ecx + 7]
mov dword [esp + 0x2c], eax
call fcn.004196b0
mov eax, dword [edi + 8]
add esp, 4
lea edx, [esp + 0x38]
push edx
push eax
call fcn.00409d50
mov ecx, dword [ebp + 0x10]
mov edx, dword [esp + 0x30]
push ecx
push edx
push eax
push 0x57
mov eax, esi
call fcn.004183d0
mov eax, dword [ebp + 0x10]
add esp, 0x18
mov dword [esp + 0x2c], eax
jmp 0x431295
mov edx, dword [edi + 8]
lea ecx, [esp + 0x28]
push ecx
push edx
call fcn.00409d50
mov edx, dword [esp + 0x1c]
mov ecx, eax
mov eax, dword [ebp + 0x10]
push esi
mov dword [esp + 0x38], eax
call fcn.004196b0
add esp, 0xc
jmp 0x431295
mov eax, dword [ebp + 0x10]
mov ecx, 1
push esi
lea edx, [ecx + 6]
call fcn.004196b0
mov ecx, dword [edi + 8]
add esp, 4
lea eax, [esp + 0x28]
push eax
push ecx
call fcn.00409d50
mov ecx, dword [esp + 0x1c]
push esi
call fcn.004196d0
mov ecx, dword [ebp + 0x10]
mov edi, eax
or eax, 0xffffffff
add esp, 0xc
push esi
lea edx, [eax + 0x15]
call fcn.004196b0
add esp, 4
mov eax, edi
mov ecx, esi
call fcn.0040ddd0
jmp 0x431295
mov eax, dword [edi + 0x24]
cmp eax, ecx
jne 0x430c83
mov edx, dword [edi + 4]
push edx
push str.misuse_of_aggregate:__s__
mov edi, ebx
call fcn.0041af70
add esp, 8
jmp 0x431295
movsx ecx, word [edi + 0x1e]
mov edx, dword [eax + 0x20]
shl ecx, 4
mov eax, dword [ecx + edx + 8]
mov dword [esp + 0x2c], eax
jmp 0x431295
test word [edi + 2], 0x2000
mov edx, dword [eax + 8]
mov eax, dword [edx + 0xc]
mov dl, byte [eax + 0x49]
mov dword [esp + 0x10], ecx
mov byte [esp + 0x18], dl
mov dword [esp + 0x24], ecx
je 0x430cbd
mov dword [esp + 0x30], ecx
jmp 0x430cca
mov eax, dword [edi + 0x10]
cmp eax, ecx
mov dword [esp + 0x30], eax
je 0x430cca
mov ecx, dword [eax]
mov dword [esp + 0x34], ecx
mov ecx, dword [edi + 4]
mov dword [esp + 0x20], ecx
call fcn.0040c510
mov edx, dword [esp + 0x18]
push 0
push edx
mov edx, dword [esp + 0x3c]
push edx
push eax
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x1c]
push ecx
push eax
call fcn.00413b10
add esp, 0x18
test eax, eax
mov dword [esp + 0x14], eax
jne 0x430d1f
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x3c]
push ecx
push edx
push str.unknown_function:__.s__
mov edi, ebx
call fcn.0041af70
add esp, 0xc
jmp 0x431295
test byte [eax + 3], 0x40
je 0x430dc3
mov eax, esi
call fcn.00418370
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx + 0xc]
mov esi, dword [ebp + 0x10]
mov ecx, dword [edx]
mov dword [esp + 0x18], eax
mov eax, ebx
call fcn.0041ac30
mov eax, dword [esp + 0x34]
cmp eax, 1
jle 0x430db6
add eax, 0xffffffff
mov dword [esp + 0x10], 0x14
mov dword [esp + 0xc], eax
nop
mov eax, dword [esp + 0x1c]
mov esi, dword [ebp + 0x10]
push eax
mov eax, dword [esp + 0x1c]
mov ecx, esi
mov edx, 0x4a
call fcn.004196b0
add esp, 4
mov ecx, 1
mov edi, esi
mov eax, ebx
call fcn.0040d9c0
call fcn.00409db0
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx + 0xc]
mov edi, dword [esp + 0x10]
mov ecx, dword [edx + edi]
call fcn.0041ac30
mov eax, ebx
call fcn.0040d980
add edi, 0x14
sub dword [esp + 0xc], 1
mov dword [esp + 0x10], edi
jne 0x430d60
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
jmp 0x431290
cmp dword [esp + 0x30], 0
je 0x430dfd
mov esi, dword [esp + 0x34]
mov ecx, ebx
call fcn.00409c40
mov ecx, eax
mov eax, ebx
mov dword [esp + 0x20], ecx
call fcn.00409db0
mov eax, dword [esp + 0x30]
push 1
call fcn.0041abd0
add esp, 4
mov eax, ebx
call fcn.0040d980
mov esi, dword [esp + 0x1c]
jmp 0x430e05
mov dword [esp + 0x20], 0
mov eax, dword [esp + 0x34]
cmp eax, 2
jl 0x430e2b
test byte [edi + 2], 0x80
je 0x430e2b
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx + 0xc]
mov ecx, dword [esp + 0xc]
push eax
mov eax, dword [esp + 0x18]
push eax
mov eax, dword [edx + 0x14]
push ecx
jmp 0x430e43
test eax, eax
jle 0x430e4f
mov edx, dword [esp + 0x30]
mov ecx, dword [edx + 0xc]
mov edx, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x10]
push edx
push eax
mov eax, dword [ecx]
call fcn.00414fe0
mov dword [esp + 0x20], eax
add esp, 0xc
cmp dword [esp + 0x34], 0
mov dword [esp + 0x1c], 0
jle 0x430ed5
mov dword [esp + 0x18], 0
cmp dword [esp + 0x1c], 0x20
jge 0x430e93
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx + 0xc]
mov eax, dword [esp + 0x18]
mov ecx, dword [edx + eax]
call fcn.00412a60
test eax, eax
je 0x430e93
mov ecx, dword [esp + 0x1c]
mov edx, 1
shl edx, cl
or dword [esp + 0x10], edx
mov eax, dword [esp + 0x14]
test byte [eax + 3], 8
je 0x430ebf
cmp dword [esp + 0x24], 0
jne 0x430ebf
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx + 0xc]
mov eax, dword [esp + 0x18]
mov edi, dword [edx + eax]
push ebx
call fcn.0041ddc0
add esp, 4
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x1c]
add dword [esp + 0x18], 0x14
add eax, 1
cmp eax, dword [esp + 0x34]
mov dword [esp + 0x1c], eax
jl 0x430e66
mov ecx, dword [esp + 0x14]
test byte [ecx + 3], 8
je 0x430f0a
cmp dword [esp + 0x24], 0
jne 0x430ef1
mov edx, dword [esp + 0xc]
mov eax, dword [edx + 0x2c]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x24]
push 0xfffffffffffffffc
push ecx
push 0x11
xor eax, eax
xor ecx, ecx
xor edx, edx
mov edi, esi
call fcn.00419680
add esp, 0xc
mov edx, dword [esp + 0x14]
mov eax, dword [ebp + 0x10]
mov ecx, dword [esp + 0x20]
push 0xfffffffffffffffb
push edx
mov edx, dword [esp + 0x18]
push 0x12
mov edi, esi
call fcn.00419680
mov dl, byte [esp + 0x40]
add esp, 0xc
mov eax, esi
call fcn.0040a910
mov esi, dword [esp + 0x34]
test esi, esi
je 0x431295
mov ecx, dword [esp + 0x20]
mov eax, ebx
call fcn.0040fe70
jmp 0x431295
push 0
push 0
push edi
mov eax, ebx
call fcn.00423020
add esp, 0xc
mov dword [esp + 0x2c], eax
jmp 0x431295
mov eax, esi
call fcn.00418370
mov dword [esp + 0x10], eax
mov eax, esi
call fcn.00418370
xor ecx, ecx
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x10]
push esi
lea edx, [ecx + 0xa]
call fcn.004196b0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
add esp, 4
push eax
push ecx
push ebx
mov eax, edi
call fcn.0042fa40
mov edi, dword [ebp + 0x10]
mov ecx, 1
add esp, 0xc
push esi
mov eax, edi
lea edx, [ecx + 6]
call fcn.004196b0
mov edx, dword [esp + 0x14]
add esp, 4
mov ecx, esi
call fcn.0040a980
xor eax, eax
push esi
mov ecx, edi
lea edx, [eax + 0x14]
call fcn.004196b0
mov edx, dword [esp + 0x10]
add esp, 4
jmp 0x43128e
mov edx, dword [edi + 0x10]
mov eax, dword [edi + 8]
mov esi, dword [edx + 0xc]
mov edi, dword [esi]
lea ecx, [esp + 0x28]
push ecx
push eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], edi
call fcn.00409d50
lea edx, [esp + 0x40]
push edx
push edi
mov dword [esp + 0x30], eax
call fcn.00409d50
mov edx, eax
mov eax, ebx
call fcn.00409cb0
mov edi, eax
mov eax, ebx
call fcn.00409cb0
mov ecx, dword [esp + 0x20]
push 0x10
push edi
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x38]
push edx
push eax
mov eax, dword [esp + 0x2c]
push 0x50
push ebx
call fcn.00423450
mov ecx, dword [esi + 0x14]
mov esi, dword [esp + 0x60]
mov edx, ebx
mov dword [esp + 0x34], ecx
call fcn.00409c70
mov eax, dword [esp + 0x34]
lea edx, [esp + 0x60]
push edx
push eax
call fcn.00409d50
mov esi, dword [esp + 0x48]
mov ecx, dword [esp + 0x50]
push 0x10
push esi
push eax
mov eax, dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x50]
push 0x4e
push ebx
call fcn.00423450
mov edx, dword [ebp + 0x10]
mov eax, dword [esp + 0x64]
add esp, 0x48
push edx
push esi
push edi
push 0x45
call fcn.004183d0
add esp, 0x10
mov esi, edi
mov edx, ebx
call fcn.00409c70
mov esi, dword [esp + 0x18]
call fcn.00409c70
jmp 0x431295
mov edx, dword [edi + 0x28]
mov eax, dword [edx + 8]
movsx ecx, word [edi + 0x1c]
add eax, 1
imul eax, dword [edi + 0x18]
lea ecx, [eax + ecx + 1]
mov eax, dword [ebp + 0x10]
push esi
mov edx, 0x6d
call fcn.004196b0
add esp, 4
jmp 0x431295
cmp dword [ebx + 0x1a4], ecx
jne 0x4310f0
push str.RAISE___may_only_be_used_within_a_trigger_program
mov edi, ebx
call fcn.0041af70
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [edi + 1], 2
jne 0x4310fd
mov ecx, ebx
call fcn.00409880
mov al, byte [edi + 1]
cmp al, 4
push 0
jne 0x431122
mov edx, dword [edi + 4]
push edx
xor eax, eax
push 6
lea ecx, [eax + 4]
xor edx, edx
mov edi, esi
call fcn.00419680
add esp, 0xc
jmp 0x431295
mov ecx, dword [edi + 4]
movsx esi, al
push ecx
call fcn.0041a5a0
add esp, 8
jmp 0x431295
mov eax, dword [edi + 0x10]
mov edx, dword [eax + 0xc]
mov eax, dword [eax]
mov dword [esp + 0xc], eax
mov eax, esi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x3c], edx
call fcn.00418370
mov dword [esp + 0x20], eax
mov eax, dword [edi + 8]
test eax, eax
mov dword [esp + 0x18], eax
je 0x4311a8
mov esi, eax
mov ecx, 0xc
lea edi, [esp + 0x40]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x28]
push ecx
push eax
call fcn.00409d50
mov esi, dword [esp + 0x24]
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x60], eax
lea edx, [esp + 0x48]
lea eax, [esp + 0x78]
add esp, 8
mov byte [esp + 0x40], 0x84
mov byte [esp + 0x70], 0x4c
mov dword [esp + 0x78], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x28], 0
cmp dword [esp + 0xc], 0
jle 0x431251
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x3c]
add eax, 0xffffffff
shr eax, 1
add eax, 1
mov dword [esp + 0x24], ecx
mov dword [esp + 0xc], eax
jmp 0x4311d0
mov eax, ebx
call fcn.00409db0
cmp dword [esp + 0x18], 0
je 0x4311ea
mov edx, dword [esp + 0x24]
mov eax, dword [edx]
mov dword [esp + 0x7c], eax
jmp 0x4311f4
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx]
mov dword [esp + 0x10], edx
mov eax, esi
call fcn.00418370
mov edi, eax
mov eax, dword [esp + 0x10]
push 8
push edi
push eax
push ebx
call fcn.00430640
mov ecx, dword [esp + 0x34]
mov esi, dword [ebp + 0x10]
mov ecx, dword [ecx + 0x14]
mov eax, ebx
call fcn.0041ac30
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
xor ecx, ecx
push esi
lea edx, [ecx + 1]
call fcn.004196b0
add esp, 0x14
mov eax, ebx
call fcn.0040d980
mov edx, edi
mov ecx, esi
call fcn.0040a980
add dword [esp + 0x24], 0x28
sub dword [esp + 0xc], 1
jne 0x4311d0
mov edi, dword [ebp + 0xc]
cmp dword [edi + 0xc], 0
je 0x431279
mov eax, ebx
call fcn.00409db0
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov ecx, dword [edx + 0xc]
call fcn.0041ac30
mov eax, ebx
call fcn.0040d980
mov esi, dword [esp + 0x1c]
jmp 0x43128a
mov eax, dword [ebp + 0x10]
xor ecx, ecx
push esi
lea edx, [ecx + 0xa]
call fcn.004196b0
add esp, 4
mov edx, dword [esp + 0x20]
mov ecx, esi
call fcn.0040a980
mov esi, dword [esp + 0x28]
mov edx, ebx
call fcn.00409c70
mov esi, dword [esp + 0x38]
call fcn.00409c70
mov eax, dword [esp + 0x2c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret